package com.story.service;

import java.util.Date;
import java.util.List;




import com.story.domain.Page;
import com.story.domain.SessionInfo;

public interface ISessionService {
	void create(SessionInfo info);
	void delete(String sessionid);
	void update(String username,String session,Date lastAccessTime,String sessionid);
	SessionInfo querySessionById(String sessionid);
	List<SessionInfo> querySessionsById(String sessionid);
	List<SessionInfo> findAll();
	Integer totalCount();
	List<SessionInfo> findSomeByLimit(Page page);
	void updateSessionWithLogout(Date quitTime,Boolean status,String sessionid);
	void updateSessionWithRead(Date lastAccessTime,String sessionid);
}
